class Contact < ActiveRecord::Base
  validates :name, :length => {:within => 3..30}
  validates :phone, :length => {:within => 7..20}
  validates :email, :length => {:within => 3..70}
  validates :message, :length => {:within => 3..500}
end
